package com.newcapec.shiro.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Resources {

    private Integer id;
    private String resourcesName;
    private String url;
    private String type;
    private Integer sort;
    private Integer pid;
    private String percode;
    private Resources parent;
    private List<Resources> children = new ArrayList<>();
}
